package com.uranus.auth.auth.beans;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ybx 创建Jwt 加密信息的属性 ，读取配置文件下的custom节点
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "custom.jwtToken")
public class JwtToken {
    private String storeType;
    private String jwtSecret;
    private Long accessTokenLifetimeSeconds;
    private Long refreshTokenLifetimeSeconds;
}
